/**
 * 
 */
package edu.tongji.engine.def;

/**
 * @author David Fei
 *
 */
public class Transition {

	private Long id;
	
	private String name;
	
	private Node from_node;
	
	private Node to_node;
	
	private String description;
	
	private ProcessDefinition pd;
	
	
	public Transition(){
		
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public ProcessDefinition getPd() {
		return pd;
	}

	public void setPd(ProcessDefinition pd) {
		this.pd = pd;
	}

	public Node getFrom_node() {
		return from_node;
	}

	public void setFrom_node(Node from_node) {
		this.from_node = from_node;
	}

	public Node getTo_node() {
		return to_node;
	}

	public void setTo_node(Node to_node) {
		this.to_node = to_node;
	}

	
}
